.trigger {
  display: inline-flex;
  gap: var(--spacing-2);
  align-items: center;
  justify-content: space-between;
  min-width: 180px;
  height: 2.5rem;
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-4);
  line-height: 1;
  cursor: pointer;
  background-color: var(--color-gray-800);
  border: 1px solid var(--color-gray-700);
  transition: border-color 0.2s;
}

.trigger:hover {
  border-color: var(--color-gray-600);
}

.trigger:focus-visible {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 2px var(--primary-overlay-20);
}

/* Fallback for browsers without color-mix support */
@supports not (color: color-mix(in srgb, white, black)) {
  .trigger:focus-visible {
    box-shadow: 0 0 0 2px rgba(29, 237, 131, 0.2);
  }
}

.trigger:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.trigger[data-placeholder] {
  color: var(--color-gray-400);
}

.icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
}

.content {
  z-index: var(--z-index-toast);
  overflow: hidden;
  background-color: var(--color-gray-900);
  border: 1px solid var(--color-gray-800);
}

.contentPopper {
  /* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
  width: var(--radix-select-trigger-width);
  /* stylelint-disable-next-line csstools/value-no-unknown-custom-properties */
  max-height: var(--radix-select-content-available-height);
}

.viewport {
  padding: var(--spacing-1);
}

.viewportPopper {
  width: 100%;
  height: 100%;
}

.label {
  padding: var(--spacing-2) var(--spacing-3);
  font-size: var(--font-size-3);
  color: var(--color-gray-400);
}

.item {
  position: relative;
  display: flex;
  align-items: center;
  padding: var(--spacing-2) var(--spacing-2) var(--spacing-2) var(--spacing-6);
  font-size: var(--font-size-4);
  color: var(--color-gray-100);
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: background-color 0.2s;
}

.item svg {
  color: var(--color-gray-300);
}

.item:focus-visible {
  outline: 1px solid var(--color-gray-600);
  outline-offset: -1px;
  background-color: var(--color-gray-800);
}

.item:hover {
  background-color: var(--color-gray-800);
}

.item[data-disabled] {
  color: var(--color-gray-500);
  pointer-events: none;
}

.item[data-highlighted] {
  background-color: var(--color-gray-800);
}

.itemIndicator {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--spacing-6);
}

.checkIcon {
  width: 1rem;
  height: 1rem;
}

.scrollButton {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 1.5rem;
  color: var(--color-gray-400);
  cursor: default;
  background-color: var(--color-gray-900);
}

.scrollIcon {
  width: 1rem;
  height: 1rem;
}

.separator {
  height: 1px;
  margin: var(--spacing-1) 0;
  background-color: var(--color-gray-800);
}
